package com.huangliusong.dao;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Properties;

import org.springframework.stereotype.Repository;

import com.bstek.dorado.core.DoradoAbout;

@Repository
public class SystemInfoDao {
	public Properties getData() {
		Properties info = new Properties();
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy年MM月dd日 hh:mm:ss");
		info.setProperty("product", DoradoAbout.getProductTitle());
		info.setProperty("vendor", DoradoAbout.getVendor());
		info.setProperty("version", DoradoAbout.getVersion());
		info.setProperty("time", sdf.format(new Date()));
		return info;
	}
}
